﻿
using System.Collections.Generic;
using MS.InformationManagement.DAL.RecordCenter;
using MS.InformationManagement.Presenter.Support;
using MS.InformationManagement.Presenter.TRDConfig.Events;

namespace MS.InformationManagement.Presenter.TRDConfig
{
    public interface ITRDConfigView : IView
    {
        int BackdropID { get; set; }
        int BackdropChildID { get; set; }
        int SectionID { get; set; }
        int SubsectionID { get; set; }
        int? TRDItemID { get; }

        FondosFondo Backdrop { get; set; }
        FondosFondo BackdropChild { get; set; }
        SeccionesSeccion Section { get; set; }
        SeccionesSeccion Subsection { get; set; }
        Serie Serie { get; set; }
        Subserie Subserie { get; set; }

        List<TipoDocumental> AvailableDocumentTypes { get; set; }
        List<TipoDocumental> AvailableSelectedDocumentTypes { get; }
        List<TipoDocumental> SelectedDocumentTypes { get; set; }
        List<TipoDocumental> SelectedSelectedDocumentTypes { get; }
        List<Serie> Series { get; set; }
        List<Subserie> Subseries { get; set; }


        bool Keep { get; set; }
        bool TechnicalMean { get; set; }
        bool Delete { get; set; }
        bool Select { get; set; }

        double CentralStorageTime { get; set; }
        double GeneralManagementStorageTime { get; set; }

        string Notes { get; set; }
        string ChangeNotes { get; set; }
        string Operation { get; }
        string BackdropCode { get; set; }
        string ChildBackdropCode { get; set; }
        string SectionCode { get; set; }
        string SubsectionCode { get; set; }
        string SerieCode { get; set; }
        string SubserieCode { get; set; }

        event SerieChangeHandler OnSerieChanged;
        event SubserieChangeHandler OnSubserieChanged;

        void Show();
    }
}
